//
//  BTableViewCell.m
//  Camera
//
//  Created by gml on 2018/10/16.
//  Copyright © 2018年 gml. All rights reserved.
//

#import "BTableViewCell.h"

@interface BTableViewCell()
@property (weak, nonatomic) IBOutlet UIButton *aButton;
@property (weak, nonatomic) IBOutlet UIView *bgView;

@end

@implementation BTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.backgroundColor = [UIColor clearColor];
    self.bgView.layer.cornerRadius = 5;

}

- (IBAction)action:(UIButton *)sender
{
    NSLog(@"点击了");
    NSInteger tag = sender.tag;
    if (self.block) {
        self.block(tag);
    }
}


@end
